import React from 'react';
import ReactDOM from 'react-dom';
//全局样式
import "@common/css/base.css";
import "@react/style/public.less";
import RouterIndex from '@react/router/index.jsx'; //引入路由管理js
import 'lib-flexible/flexible'; //rem
import utils from "@react/utils/index";
import {
  Provider
} from 'react-redux'; //通过 Provider 注入 store
import store from "@react/redux/index";
//连点处理
var FastClick = require('fastclick');
FastClick.attach(document.body);
React.Component.prototype.$utils = utils //公共api挂载全局变量 (不建议)
ReactDOM.render(
  (
    <Provider store={store}>
      <RouterIndex></RouterIndex>
    </Provider>
  )
  , document.getElementById('root'));
